﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedLib.WinFormMVCFramework
{
    /// <summary>
    /// Interface of controller in MVC framework
    /// A controller accepts input from the user and instructs the model and view to perform actions based on that input.
    /// </summary>
    public interface IController<T> where T : IView
    {
        /// <summary>
        /// Get the related view of the controller
        /// </summary>
        T View
        {
            get;
        }
    }
}
